package org.dawning.shop.inventory.query.entry;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * Created by Cc on 2017/6/12.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document
public class InventoryEntry {

    private String id;

    private long amount;

    private long warnAmount;

    public InventoryEntry(String id){};

}
